package com.ruibo.modules.system.service.dto;

import java.util.ArrayList;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import com.ruibo.jpa.model.AbstractAuditDto;
/**
 * (SysDept)实体类
 *
 * @author sunfeng
 * @since 2020-04-17 13:35:47
 */
public class SysDeptDto extends AbstractAuditDto implements Serializable {


    private static final long serialVersionUID = 135444652949330708L;


    private Long parentId;

    private String ancestors;

    private String deptName;

    private Integer orderNum;

    private String leader;

    private String phone;

    private String email;

    private String status;

    private String delFlag;

    /** 父部门名称 */
    private String parentName;
    /**
     * 城市编码集合
     */
    private LinkedList<String> areaValue;
    /** 子部门 */
    private List<SysDeptDto> children = new ArrayList<SysDeptDto>();
    private Long version;

    private String remark;



    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }


    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getParentName()
    {
        return parentName;
    }

    public void setParentName(String parentName)
    {
        this.parentName = parentName;
    }

    public List<SysDeptDto> getChildren()
    {
        return children;
    }

    public void setChildren(List<SysDeptDto> children)
    {
        this.children = children;
    }

    public LinkedList<String> getAreaValue() {
        return areaValue;
    }

    public void setAreaValue(LinkedList<String> areaValue) {
        this.areaValue = areaValue;
    }

}
